5b6f4c57908504d45243369c026812d0dd9371f2,plugins/kernel/roi/roi2d/ROI2DShape.java,ROI2DShapePainter,updateVtkDisplayProperties,#,288
Before Change
boundingBox.GetXAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetYAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetZAxesLinesProperty().SetColor(r, g, b);
boundingBox.SetVisibility(isSelected() ? 1 : 0);
}
// need to repaint
After Change
else
{
outlineActor.GetProperty().SetColor(r, g, b);
outlineActor.SetVisibility(isSelected() ? 1 : 0);
vtkProperty.SetColor(col.getRed() / 255d, col.getGreen() / 255d, col.getBlue() / 255d);
vtkProperty.SetPointSize(strk);
// opacity here is about ROI content, whole actor opacity is handled by Layer